home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / comm / tskerm25.zip / TSKERM.POS < prev    next >
Text File  |  1994-02-12  |  26KB  |  567 lines

  1. ===========================================================================
  2. I have collected here with the kind permission of the authors some
  3. interestings posting and email concerning MsKermit and related file
  4. transfer problems and principles.  My sincere thanks to Russ, Kenneth,
  5. James, Kevin, Joe, Christine, et al.
  6.    All the best, Timo
  7. ===========================================================================
  8.  
  9. From rwh@me.utoronto.ca Sun Nov 12 19:08:07 1989
  10. Return-Path: <rwh@me.utoronto.ca>
  11. From: Russell Herman <rwh@me.utoronto.ca>
  12. To: ts@uwasa.fi
  13. Subject: Re: Kermit file transfers made easy
  14. Message-Id: <89Nov12.120600est.18515@me.utoronto.ca>
  15. Date:     Sun, 12 Nov 89 12:05:53 EST
  16.  
  17. I may have the solution to your zmodem problems!  I have a similar situation
  18. with a pair of back-to-back async dataswitches between me sitting here at home
  19. and the SUN 3/180 running SUNOS3.5 at work.  After struggling and some hints
  20. from Forsberg, I got everything working by invoking sz at the host with the
  21. inclusion of '-l 1024'.  This forces zmodem to use a dumber version of its
  22. protocol that ACKs each packet before sending the next.  The problem I
  23. encountered was essentially flow control.  By the time my XOFF drifted
  24. upstream, my intermediaries were filled up with packets I wasn't ready to
  25. swallow.  Everything went totally out of sync by that point.  Some
  26. configuration peculiarities make it unnecessary for me to worry about
  27. this when I'm uploading from the PC, although I guess the problem could
  28. really cut both ways.
  29.  
  30. There is a slight performance hit.  Over a 2400 baud modem I get about
  31. 210 cps instead of 220, and over a 9600 direct wire 800 cps vs 900
  32. (just done as an experiment, there's no need to use -l over a wire
  33. unless perhaps a PC can't keep up in some weird fashion).
  34.  
  35. I did use kermit before figuring out this solution.  But why dig with a
  36. teaspoon when you can dig with a shovel?
  37.  
  38. Russ Herman
  39. INTERNET: rwh@me.utoronto.ca  UUCP: ..uunet!utai!me!rwh
  40.  
  41.  
  42. Article 2645 of comp.binaries.ibm.pc.d:
  43. >From: usenet@cps3xx.UUCP (Usenet file owner)
  44. Newsgroups: comp.binaries.ibm.pc.d,comp.sys.ibm.pc
  45. Subject: Re: Kermit file transfers made easy
  46. Keywords: kermit, scripts
  47. Message-ID: <5351@cps3xx.UUCP>
  48. Date: 12 Nov 89 04:29:40 GMT
  49. References: <1039@chyde.uwasa.fi>
  50. Reply-To: hendrick@frith.UUCP (Kenneth J. Hendrickson)
  51. Organization: Michigan State University
  52. Lines: 19
  53.  
  54. Kermit uses only 7-bit ascii characters for its file tranfer protocol.
  55. If you send files with 8-bit characters (binary files like .EXE, .ARC,
  56. .ZOO, .ZIP, etc.), Kermit uses quoting, where a special character is
  57. used to flag a byte with the eighth bit set.  If you send binary files
  58. this way, it effectively doubles the size of the file.
  59.  
  60. In order to go faster, I recommend using arc -i on your Unix system,
  61. then uuencoding the file.  Uuencode makes the file about 33% larger, but
  62. arc can achieve compression ratios of 50%+.  Transfer the file, and then
  63. perform the reverse process on your pc.  The -i option for arc does the
  64. \n MSDOS <-> Unix translation.  PKXARC can be made compatible with arc
  65. by using the -oct switch.
  66.  
  67. This helps on text files a little bit, and on binary files a whole
  68. bunch!
  69.  
  70. In the rare case that original ideas   Kenneth J. Hendrickson    N8DGN
  71. are found here, I am responsible.      Owen W328, E. Lansing, MI 48825
  72. Internet: hendrick@frith.egr.msu.edu   UUCP: ...!uunet!frith!hendrick
  73.  
  74.  
  75. Article 2648 of comp.binaries.ibm.pc.d:
  76. >From: jwbirdsa@phoenix.Princeton.EDU (James Webster Birdsall)
  77. Newsgroups: comp.binaries.ibm.pc.d
  78. Subject: Re: Kermit file transfers made easy
  79. Keywords: kermit, scripts
  80. Message-ID: <11474@phoenix.Princeton.EDU>
  81. Date: 12 Nov 89 18:41:45 GMT
  82. References: <1039@chyde.uwasa.fi> <5351@cps3xx.UUCP>
  83. Reply-To: jwbirdsa@phoenix.Princeton.EDU (James Webster Birdsall)
  84. Organization: Princeton University, NJ
  85. Lines: 28
  86.  
  87. In article <5351@cps3xx.UUCP> hendrick@frith.UUCP (Kenneth J. Hendrickson)
  88. writes:
  89. >Kermit uses only 7-bit ascii characters for its file tranfer protocol.
  90. >If you send files with 8-bit characters (binary files like .EXE, .ARC,
  91. >.ZOO, .ZIP, etc.), Kermit uses quoting, where a special character is
  92. >used to flag a byte with the eighth bit set.  If you send binary files
  93. >this way, it effectively doubles the size of the file.
  94.  
  95.    Correction: Kermit uses the full width of whatever communication line
  96. it has available. On a 7-bit line, it can send text straight and
  97. binaries by quoting (which drops the speed by a lot -- it's usually
  98. faster to uuencode and download as text). On an 8-bit line, it can
  99. send binaries straight. [Your mileage may vary. I'm using MS-Kermit
  100. (in the various versions since 2.29) and C-Kermit (version whatever)
  101. on assorted UNIX boxes.]
  102.    When I did CPS measurements (CPS of the original file, not the
  103. uuencoded version, if appropriate), I found that 8-bit was the fastest
  104. for binaries, followed by 7-bit text of uuencoded file, followed by
  105. 7-bit quoted binary. Boosting the packet size to the max of 1000 helped
  106. throughput a lot as well (if you've got dirty lines, this may not be
  107. true -- around here, the lines are very clean and I get maybe one resend
  108. every other month).
  109.  
  110. --
  111. James W. Birdsall  jwbirdsa@phoenix.Princeton.EDU  jwbirdsa@pucc.BITNET
  112.    ...allegra!princeton!phoenix!jwbirdsa   Compu$erve: 71261,1731
  113. "For it is the doom of men that they forget." -- Merlin
  114.  
  115.  
  116. Article 2652 of comp.binaries.ibm.pc.d:
  117. >From: CUMMINGS@S55.Prime.COM
  118. Newsgroups: comp.binaries.ibm.pc.d
  119. Subject: Re: Kermit file transfers made easy
  120. Message-ID: <173200002@S55.Prime.COM>
  121. Date: 12 Nov 89 19:02:00 GMT
  122. References: <11474@phoenix.Princeton.EDU>
  123. Lines: 23
  124.  
  125. Jim Birdsall is right.  Look at the following examples.  Consider first that
  126. a binary files has statistically 50% bytes with leading zeroes and 50%
  127. bytes with leading ones (varies from file to file, but statistaclly
  128. right).  That means that transferring a binary file on a 7 bit ASCII
  129. connection will cause 50% of the bytes to be quoted.  Equivalent of
  130. increasing the file size by 50%.  UUENCODEing is a 3 byte-to-4 byte encoding
  131. of your binary text.  It increases your file size by 33.3% (regardless of
  132. the percentage of bytes beginning with 1's or 0's!).  Obviously transferring
  133. a binary file over an 8-bit line has no penalty (0% file growth!).
  134.  
  135. ============================================================================
  136. Kevin J. Cummings                       Prime Computer Inc.
  137. 20 Briarwood Road                       500 Old Connecticut Path
  138. Framingham, Mass.                       Framingham, Mass.
  139.  
  140. InterNet:  CUMMINGS@S55.Prime.COM
  141. CSNet:     CUMMINGS%S55.Prime.COM@RELAY.CS.NET
  142. UUCP:      {uunet, csnet-relay}!S55.Prime.COM!CUMMINGS
  143.  
  144. Std. Disclaimer: "Mr. McKittrick, after careful consideration, I've come
  145.                   to the conclusion that your new defense system SUCKS..."
  146. ============================================================================
  147.  
  148.  
  149. Article 2727 of comp.binaries.ibm.pc.d:
  150. >From: JRD@cc.usu.edu (Joe Doupnik)
  151. Newsgroups: comp.binaries.ibm.pc.d
  152. Subject: Kermit file transfers, a remark.
  153. Message-ID: <10783@cc.usu.edu>
  154. Date: 18 Nov 89 22:23:38 GMT
  155. Lines: 17
  156.  
  157.         There is a natural misconception regarding Kermit and 7 or 8 bit file
  158. transfers. Kermit uses 8 bit transfers if parity is none, otherwise it uses
  159. 7 bits and encoding for the eighth bit. Even under Unix C Kermit runs the
  160. communications line in full 8-bit mode during file transfers, if at all
  161. possible, even though the conversational parts use the normal Unix parity.
  162. Each Kermit determines the local parity situation and the width of the
  163. transfer is negotiated between them at file transfer time.
  164.         I might add in passing that the Kermit protocol permits run length
  165. encoding naturally, most Kermits support it, to help compress many files.
  166. Not the same as the full blown archive compression schemes. If a communications
  167. channel is 7 bits wide then archive style compression of text files may yield
  168. a slower transmission than the original text files because of escaping all
  169. the new eighth bits. The